
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>接收消息 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="../常见问题及解决方案.html" />
    
    
    <link rel="prev" href="071-禁止微信自动更新.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    WeChatPYAPI介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="社区版跟专业版区别.html">
            
                <a href="社区版跟专业版区别.html">
            
                    
                    社区版跟专业版的区别
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" >
            
                <span>
            
                    
                    1、常规
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="001-实例化API.html">
            
                <a href="001-实例化API.html">
            
                    
                    1、实例化API对象
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="002-启动微信.html">
            
                <a href="002-启动微信.html">
            
                    
                    2、启动微信
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="003-获取个人信息.html">
            
                <a href="003-获取个人信息.html">
            
                    
                    3、获取个人信息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="004-获取微信登录状态.html">
            
                <a href="004-获取微信登录状态.html">
            
                    
                    4、获取微信登录状态
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5" data-path="005-退出登录.html">
            
                <a href="005-退出登录.html">
            
                    
                    5、退出登录
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" >
            
                <span>
            
                    
                    2、拉取好友/群/成员
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="006-拉取列表.html">
            
                <a href="006-拉取列表.html">
            
                    
                    1、拉取列表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="007-获取群成员列表.html">
            
                <a href="007-获取群成员列表.html">
            
                    
                    2、获取群成员列表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="048-拉取标签列表.html">
            
                <a href="048-拉取标签列表.html">
            
                    
                    3、拉取标签列表
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" >
            
                <span>
            
                    
                    3、发送消息类
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="008-发送文本消息.html">
            
                <a href="008-发送文本消息.html">
            
                    
                    1、发送文本消息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="009-发送图片消息.html">
            
                <a href="009-发送图片消息.html">
            
                    
                    2、发送图片消息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="010-发送文件视频消息.html">
            
                <a href="010-发送文件视频消息.html">
            
                    
                    3、发送文件/视频消息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4" data-path="011-发送好友名片.html">
            
                <a href="011-发送好友名片.html">
            
                    
                    4、发送好友名片
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5" data-path="012-发送卡片链接.html">
            
                <a href="012-发送卡片链接.html">
            
                    
                    5、发送卡片链接
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.6" data-path="049-发送XML消息.html">
            
                <a href="049-发送XML消息.html">
            
                    
                    6、发送XML消息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.7" data-path="013-发送GIF表情消息.html">
            
                <a href="013-发送GIF表情消息.html">
            
                    
                    7、发送GIF表情消息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.8" data-path="014-群聊发送消息并且@指定群成员.html">
            
                <a href="014-群聊发送消息并且@指定群成员.html">
            
                    
                    8、群聊发送消息并且@指定群成员
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.9" data-path="015-群聊发送文本信息并且@所有人.html">
            
                <a href="015-群聊发送文本信息并且@所有人.html">
            
                    
                    9、群聊发送文本信息并且@所有人
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.10" data-path="016-发送公众号卡片.html">
            
                <a href="016-发送公众号卡片.html">
            
                    
                    10、发送公众号卡片
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.11" data-path="050-转发任意消息.html">
            
                <a href="050-转发任意消息.html">
            
                    
                    11、转发任意消息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.12" data-path="058-发送位置消息.html">
            
                <a href="058-发送位置消息.html">
            
                    
                    12、发送位置消息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.13" data-path="059-发送语音消息.html">
            
                <a href="059-发送语音消息.html">
            
                    
                    13、发送语音消息
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" >
            
                <span>
            
                    
                    4、好友操作
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="017-添加好友.html">
            
                <a href="017-添加好友.html">
            
                    
                    1、添加好友
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="018-删除好友.html">
            
                <a href="018-删除好友.html">
            
                    
                    2、删除好友
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="019-同意添加好友请求.html">
            
                <a href="019-同意添加好友请求.html">
            
                    
                    3、同意添加好友请求
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="020-修改好友备注.html">
            
                <a href="020-修改好友备注.html">
            
                    
                    4、修改好友备注
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5" data-path="068-修改好友描述信息.html">
            
                <a href="068-修改好友描述信息.html">
            
                    
                    5、修改好友描述信息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.6" data-path="021-本地查询好友信息.html">
            
                <a href="021-本地查询好友信息.html">
            
                    
                    6、本地查询好友信息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7" data-path="022-网络查询好友信息.html">
            
                <a href="022-网络查询好友信息.html">
            
                    
                    7、网络查询好友信息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.8" data-path="023-网络查询陌生人信息.html">
            
                <a href="023-网络查询陌生人信息.html">
            
                    
                    8、网络查询陌生人信息
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" >
            
                <span>
            
                    
                    5、群操作
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="024-创建群聊.html">
            
                <a href="024-创建群聊.html">
            
                    
                    1、创建群聊
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2" data-path="025-修改群名称.html">
            
                <a href="025-修改群名称.html">
            
                    
                    2、修改群名称
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3" data-path="026-发送群公告.html">
            
                <a href="026-发送群公告.html">
            
                    
                    3、发送群公告
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.4" data-path="027-邀请好友进群.html">
            
                <a href="027-邀请好友进群.html">
            
                    
                    4、邀请好友进群
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.5" data-path="056-同意好友邀请进群.html">
            
                <a href="056-同意好友邀请进群.html">
            
                    
                    5、同意好友邀请进群
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.6" data-path="057-群二维码进群.html">
            
                <a href="057-群二维码进群.html">
            
                    
                    6、群二维码进群
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.7" data-path="028-踢出群成员.html">
            
                <a href="028-踢出群成员.html">
            
                    
                    7、踢出群成员
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.8" data-path="029-群聊保存取消保存到通讯录.html">
            
                <a href="029-群聊保存取消保存到通讯录.html">
            
                    
                    8、群聊保存、取消保存到通讯录
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.9" data-path="030-批量查询群成员的群昵称.html">
            
                <a href="030-批量查询群成员的群昵称.html">
            
                    
                    9、批量查询群成员的群昵称
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.10" data-path="031-修改我在群里的昵称.html">
            
                <a href="031-修改我在群里的昵称.html">
            
                    
                    10、修改我在群里的昵称
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.11" data-path="032-退出群聊.html">
            
                <a href="032-退出群聊.html">
            
                    
                    11、退出群聊
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8" >
            
                <span>
            
                    
                    6、控制类
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1" data-path="033-开启关闭消息免打扰.html">
            
                <a href="033-开启关闭消息免打扰.html">
            
                    
                    1、开启/关闭消息免打扰
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.2" data-path="034-置顶取消置顶聊天.html">
            
                <a href="034-置顶取消置顶聊天.html">
            
                    
                    2、置顶/取消置顶聊天
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.9" >
            
                <span>
            
                    
                    7、公众号
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.9.1" data-path="035-关注公众号.html">
            
                <a href="035-关注公众号.html">
            
                    
                    1、关注公众号
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.2" data-path="036-取消关注公众号.html">
            
                <a href="036-取消关注公众号.html">
            
                    
                    2、取消关注公众号
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.3" data-path="060-获取公众号文章.html">
            
                <a href="060-获取公众号文章.html">
            
                    
                    3、获取公众号文章
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.4" data-path="052-获取外部浏览器可访问的URL.html">
            
                <a href="052-获取外部浏览器可访问的URL.html">
            
                    
                    4、获取外部浏览器可访问的URL
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.10" >
            
                <span>
            
                    
                    8、朋友圈
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.10.1" data-path="037-获取朋友圈数据.html">
            
                <a href="037-获取朋友圈数据.html">
            
                    
                    1、获取朋友圈数据
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.2" data-path="038-朋友圈点赞取消点赞.html">
            
                <a href="038-朋友圈点赞取消点赞.html">
            
                    
                    2、朋友圈点赞/取消点赞
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.3" data-path="039-朋友圈评论.html">
            
                <a href="039-朋友圈评论.html">
            
                    
                    3、朋友圈评论
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.4" data-path="040-朋友圈删除评论.html">
            
                <a href="040-朋友圈删除评论.html">
            
                    
                    4、朋友圈删除评论
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.5" data-path="063-获取指定好友的朋友圈.html">
            
                <a href="063-获取指定好友的朋友圈.html">
            
                    
                    5、获取指定好友的朋友圈
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.6" data-path="064-朋友圈上传图片.html">
            
                <a href="064-朋友圈上传图片.html">
            
                    
                    6、朋友圈上传图片
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.7" data-path="065-发送转发朋友圈.html">
            
                <a href="065-发送转发朋友圈.html">
            
                    
                    7、发送/转发朋友圈
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.8" data-path="066-发图文朋友圈.html">
            
                <a href="066-发图文朋友圈.html">
            
                    
                    8、发图文朋友圈
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.9" data-path="067-发卡片链接朋友圈.html">
            
                <a href="067-发卡片链接朋友圈.html">
            
                    
                    9、发卡片链接朋友圈
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.10" data-path="069-下载朋友圈图片.html">
            
                <a href="069-下载朋友圈图片.html">
            
                    
                    10、下载朋友圈图片
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.11" data-path="070-下载朋友圈视频.html">
            
                <a href="070-下载朋友圈视频.html">
            
                    
                    11、下载朋友圈视频
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.11" >
            
                <span>
            
                    
                    9、小程序
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.11.1" data-path="041-获取小程序code.html">
            
                <a href="041-获取小程序code.html">
            
                    
                    1、获取小程序code
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.12" >
            
                <span>
            
                    
                    10、数据库
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.12.1" data-path="042-获取所有数据库名称.html">
            
                <a href="042-获取所有数据库名称.html">
            
                    
                    1、获取所有数据库名称
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12.2" data-path="043-查询数据库.html">
            
                <a href="043-查询数据库.html">
            
                    
                    2、查询数据库
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.13" >
            
                <span>
            
                    
                    11、搜一搜
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.13.1" data-path="072-搜一搜.html">
            
                <a href="072-搜一搜.html">
            
                    
                    1、搜一搜
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.14" >
            
                <span>
            
                    
                    12、CDN上下载
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.14.1" data-path="073-CDN下载图片.html">
            
                <a href="073-CDN下载图片.html">
            
                    
                    1、CDN下载图片
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14.2" data-path="074-CDN下载视频.html">
            
                <a href="074-CDN下载视频.html">
            
                    
                    2、CDN下载视频
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14.3" data-path="075-CDN下载文件.html">
            
                <a href="075-CDN下载文件.html">
            
                    
                    3、CDN下载文件
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.15" >
            
                <span>
            
                    
                    13、其他
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.15.1" data-path="044-收款.html">
            
                <a href="044-收款.html">
            
                    
                    1、收款
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.2" data-path="045-退款.html">
            
                <a href="045-退款.html">
            
                    
                    2、退款
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.3" data-path="046-保存图片.html">
            
                <a href="046-保存图片.html">
            
                    
                    3、保存图片
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.4" data-path="047-开启关闭保存语音.html">
            
                <a href="047-开启关闭保存语音.html">
            
                    
                    4、开启/关闭保存语音
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.5" data-path="051-OCR文字识别.html">
            
                <a href="051-OCR文字识别.html">
            
                    
                    5、OCR文字识别
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.6" data-path="053-获取当前微信进程的PID.html">
            
                <a href="053-获取当前微信进程的PID.html">
            
                    
                    6、获取当前微信进程的PID
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.7" data-path="054-自动下载图片视频文件.html">
            
                <a href="054-自动下载图片视频文件.html">
            
                    
                    7、自动下载图片/视频/文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.8" data-path="055-获取当前聊天窗口信息.html">
            
                <a href="055-获取当前聊天窗口信息.html">
            
                    
                    8、获取当前聊天窗口信息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.9" data-path="061-显示微信窗口.html">
            
                <a href="061-显示微信窗口.html">
            
                    
                    9、显示微信窗口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.10" data-path="062-隐藏微信窗口.html">
            
                <a href="062-隐藏微信窗口.html">
            
                    
                    10、隐藏微信窗口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.11" data-path="071-禁止微信自动更新.html">
            
                <a href="071-禁止微信自动更新.html">
            
                    
                    11、禁止微信自动更新
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter active" data-level="1.16" data-path="接收消息.html">
            
                <a href="接收消息.html">
            
                    
                    接收消息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.17" data-path="../常见问题及解决方案.html">
            
                <a href="../常见问题及解决方案.html">
            
                    
                    常见问题及解决方案
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >接收消息</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x63A5;&#x6536;&#x6D88;&#x606F;">&#x63A5;&#x6536;&#x6D88;&#x606F;</h1>
<ul>
<li><h4 id="&#x804A;&#x5929;&#x6D88;&#x606F;&#x3010;type100&#x3011;&#xFF1A;">&#x804A;&#x5929;&#x6D88;&#x606F;&#x3010;type=100&#x3011;&#xFF1A;</h4>
</li>
</ul>
<pre><code class="lang-json">{
    <span class="hljs-string">&quot;type&quot;</span>: <span class="hljs-number">100</span>, <span class="hljs-comment">// &#x63A8;&#x9001;&#x7C7B;&#x578B;&#xFF0C;&#x56FA;&#x5B9A;&#x4E3A;100</span>
    <span class="hljs-string">&quot;msg_type&quot;</span>: <span class="hljs-number">1</span>, <span class="hljs-comment">// &#x6D88;&#x606F;&#x7C7B;&#x578B;</span>
    <span class="hljs-string">&quot;local_id&quot;</span>: <span class="hljs-string">&quot;1381&quot;</span>, <span class="hljs-comment">// &#x6D88;&#x606F;&#x4F4D;&#x7F6E;ID</span>
    <span class="hljs-string">&quot;msg_id&quot;</span>: <span class="hljs-string">&quot;3921711251800000000&quot;</span>, <span class="hljs-comment">// &#x6D88;&#x606F;ID&#x3010;&#x81EA;&#x5DF1;&#x53D1;&#x9001;&#x7684;&#x6D88;&#x606F;&#x65F6;&#x4E3A;0&#x3011;</span>
    <span class="hljs-string">&quot;wx_id&quot;</span>: <span class="hljs-string">&quot;wxid_xxxx&quot;</span>, <span class="hljs-comment">// &#x5FAE;&#x4FE1;ID</span>
    <span class="hljs-string">&quot;at_list&quot;</span>: [<span class="hljs-string">&quot;wxid_xxx1&quot;</span>, <span class="hljs-string">&quot;wxid_xxx2&quot;</span>], <span class="hljs-comment">// &#x7FA4;&#x6D88;&#x606F;&#x827E;&#x7279;&#x4EBA;&#x5217;&#x8868;&#xFF0C;&#x827E;&#x7279;&#x6240;&#x6709;&#x4EBA;&#x5C31;&#x662F;&#x3010;notify@all&#x3011;</span>
    <span class="hljs-string">&quot;content&quot;</span>: <span class="hljs-string">&quot;&#x4F60;&#x597D;&#x9E2D;&quot;</span>, <span class="hljs-comment">// &#x6D88;&#x606F;&#x5185;&#x5BB9;</span>
    <span class="hljs-string">&quot;sender&quot;</span>: <span class="hljs-string">&quot;wxid_xxxx&quot;</span>, <span class="hljs-comment">// &#x5982;&#x679C;&#x662F;&#x7FA4;&#x6D88;&#x606F;&#xFF0C;&#x8BE5;&#x53C2;&#x6570;&#x4E3A;&#x53D1;&#x9001;&#x8005;&#x7684;&#x5FAE;&#x4FE1;ID&#xFF0C;&#x5426;&#x5219;&#x4E3A;&#x7A7A;</span>
    <span class="hljs-string">&quot;file_path&quot;</span>: <span class="hljs-string">&quot;E:\\&#x5FAE;&#x4FE1;&#x7F13;&#x5B58;\\WeChat Files\\xxxxx&quot;</span>, <span class="hljs-comment">// &#x6D88;&#x606F;&#x6587;&#x4EF6;&#x8DEF;&#x5F84;</span>
    <span class="hljs-string">&quot;time_stamp&quot;</span>: <span class="hljs-number">1682944354</span>, <span class="hljs-comment">// &#x53D1;&#x9001;&#x65F6;&#x95F4;</span>
    <span class="hljs-string">&quot;is_self_msg&quot;</span>: <span class="hljs-number">1</span>, <span class="hljs-comment">// &#x662F;&#x5426;&#x662F;&#x81EA;&#x5DF1;&#x53D1;&#x9001;&#x7684;&#x6D88;&#x606F; 0:&#x522B;&#x4EBA;&#x53D1;&#x6765;&#x7684; 1:&#x81EA;&#x5DF1;&#x53D1;&#x7684;</span>
    <span class="hljs-string">&quot;is_pc_msg&quot;</span>: <span class="hljs-number">1</span>, <span class="hljs-comment">// &#x662F;&#x5426;&#x662F;PC&#x7AEF;&#x53D1;&#x9001;&#x7684;&#x6D88;&#x606F;(&#x4EC5;&#x7528;&#x4E8E;&#x5224;&#x65AD;&#x81EA;&#x5DF1;&#x53D1;&#x9001;&#x7684;&#x6D88;&#x606F;&#xFF0C;&#x522B;&#x4EBA;&#x53D1;&#x9001;&#x7684;&#x90FD;&#x662F;0) 0:&#x5426; 1:&#x662F;</span>
    <span class="hljs-string">&quot;self_wx_id&quot;</span>: <span class="hljs-string">&quot;wxid_xxxx&quot;</span>, <span class="hljs-comment">// &#x81EA;&#x5DF1;&#x7684;&#x5FAE;&#x4FE1;ID</span>
    <span class="hljs-comment">//&#x5F53;&#x6D88;&#x606F;&#x7C7B;&#x578B;&#x4E3A;&#x8F6C;&#x8D26;&#x65F6;&#xFF0C;&#x624D;&#x6709;detail&#x5B57;&#x6BB5;</span>
    <span class="hljs-string">&quot;detail&quot;</span>: {
        <span class="hljs-string">&quot;amount&quot;</span>: <span class="hljs-string">&quot;0.01&quot;</span>, <span class="hljs-comment">//&#x91D1;&#x989D;</span>
        <span class="hljs-string">&quot;is_real_time&quot;</span>: <span class="hljs-literal">true</span>, <span class="hljs-comment">//&#x662F;&#x5426;&#x662F;&#x5B9E;&#x65F6;&#x8F6C;&#x8D26;</span>
        <span class="hljs-string">&quot;is_recv&quot;</span>: <span class="hljs-literal">true</span> <span class="hljs-comment">//&#x662F;&#x5426;&#x522B;&#x4EBA;&#x8F6C;&#x7ED9;&#x6211;&#x7684;</span>
    }
}
</code></pre>
<ul>
<li><h4 id="&#x64A4;&#x56DE;&#x6D88;&#x606F;&#x3010;type666&#x3011;&#xFF1A;">&#x64A4;&#x56DE;&#x6D88;&#x606F;&#x3010;type=666&#x3011;&#xFF1A;</h4>
</li>
</ul>
<pre><code class="lang-json">{
    <span class="hljs-string">&quot;type&quot;</span>: <span class="hljs-number">666</span>, <span class="hljs-comment">// &#x63A8;&#x9001;&#x7C7B;&#x578B;&#xFF0C;&#x56FA;&#x5B9A;&#x4E3A;666</span>
    <span class="hljs-string">&quot;msg_type&quot;</span>: <span class="hljs-number">1</span>, <span class="hljs-comment">// &#x6D88;&#x606F;&#x7C7B;&#x578B;</span>
    <span class="hljs-string">&quot;is_self_revoke&quot;</span>: <span class="hljs-number">1</span>, <span class="hljs-comment">// &#x662F;&#x5426;&#x662F;&#x81EA;&#x5DF1;&#x64A4;&#x56DE;&#x7684; 0&#x5426; 1&#x662F;</span>
    <span class="hljs-string">&quot;time_stamp&quot;</span>: <span class="hljs-number">1682944354</span>, <span class="hljs-comment">// &#x53D1;&#x9001;&#x65F6;&#x95F4;&#x3010;&#x6CE8;&#x610F;&#xFF01;&#x662F;&#x53D1;&#x9001;&#x65F6;&#x95F4;&#xFF0C;&#x4E0D;&#x662F;&#x64A4;&#x56DE;&#x65F6;&#x95F4;&#x3011;</span>
    <span class="hljs-string">&quot;wx_id&quot;</span>: <span class="hljs-string">&quot;wxid_xxxx&quot;</span>, <span class="hljs-comment">// &#x5FAE;&#x4FE1;ID/&#x7FA4;ID</span>
    <span class="hljs-string">&quot;content&quot;</span>: <span class="hljs-string">&quot;&#x4F60;&#x597D;&#x9E2D;&quot;</span>, <span class="hljs-comment">// &#x6D88;&#x606F;&#x5185;&#x5BB9;</span>
    <span class="hljs-string">&quot;member_wx_id&quot;</span>: <span class="hljs-string">&quot;wxid_xxxx&quot;</span>, <span class="hljs-comment">// &#x5982;&#x679C;&#x662F;&#x7FA4;&#x91CC;&#x7684;&#x64A4;&#x56DE;&#x6D88;&#x606F;&#xFF0C;&#x8BE5;&#x53C2;&#x6570;&#x4E3A;&#x7FA4;&#x6210;&#x5458;&#x7684;&#x5FAE;&#x4FE1;ID&#xFF0C;&#x5426;&#x5219;&#x4E3A;&#x7A7A;</span>
    <span class="hljs-string">&quot;self_wx_id&quot;</span>: <span class="hljs-string">&quot;wxid_xxxx&quot;</span>, <span class="hljs-comment">// &#x81EA;&#x5DF1;&#x7684;&#x5FAE;&#x4FE1;ID</span>
}
</code></pre>
<ul>
<li><h4 id="&#x7FA4;&#x6210;&#x5458;&#x8FDB;&#x7FA4;&#x901A;&#x77E5;&#x3010;type333&#x3011;">&#x7FA4;&#x6210;&#x5458;&#x8FDB;&#x7FA4;&#x901A;&#x77E5;&#x3010;type=333&#x3011;</h4>
</li>
</ul>
<pre><code class="lang-json">{
    <span class="hljs-string">&quot;type&quot;</span>: <span class="hljs-number">333</span>, <span class="hljs-comment">// &#x63A8;&#x9001;&#x7C7B;&#x578B;&#xFF0C;&#x56FA;&#x5B9A;&#x4E3A;333</span>
    <span class="hljs-string">&quot;chat_room_id&quot;</span>: <span class="hljs-string">&quot;xxx@chatroom&quot;</span>, <span class="hljs-comment">// &#x7FA4;ID</span>
    <span class="hljs-comment">/* &#x8FDB;&#x7FA4;&#x8005;&#x7684;&#x4FE1;&#x606F;&#x5217;&#x8868; */</span>
    <span class="hljs-string">&quot;member_list&quot;</span>:[
        {
            <span class="hljs-string">&quot;room_name&quot;</span>:<span class="hljs-string">&quot;&quot;</span>, <span class="hljs-comment">// &#x7FA4;&#x6635;&#x79F0;</span>
            <span class="hljs-string">&quot;wx_id&quot;</span>:<span class="hljs-string">&quot;wxid_xxx&quot;</span> <span class="hljs-comment">// &#x5FAE;&#x4FE1;ID</span>
        }
    ],
    <span class="hljs-string">&quot;msg&quot;</span>: <span class="hljs-string">&quot;&#x8FDB;&#x7FA4;&#x4E8B;&#x4EF6;&quot;</span>, <span class="hljs-comment">// &#x63D0;&#x793A;&#x5185;&#x5BB9;</span>
    <span class="hljs-string">&quot;self_wx_id&quot;</span>: <span class="hljs-string">&quot;wxid_xxxx&quot;</span>, <span class="hljs-comment">// &#x81EA;&#x5DF1;&#x7684;&#x5FAE;&#x4FE1;ID</span>
}
</code></pre>
<ul>
<li><h4 id="&#x7FA4;&#x6210;&#x5458;&#x9000;&#x7FA4;&#x901A;&#x77E5;&#x3010;type444&#x3011;">&#x7FA4;&#x6210;&#x5458;&#x9000;&#x7FA4;&#x901A;&#x77E5;&#x3010;type=444&#x3011;</h4>
</li>
</ul>
<pre><code class="lang-json">{
    <span class="hljs-string">&quot;type&quot;</span>: <span class="hljs-number">444</span>, <span class="hljs-comment">// &#x63A8;&#x9001;&#x7C7B;&#x578B;&#xFF0C;&#x56FA;&#x5B9A;&#x4E3A;444</span>
    <span class="hljs-string">&quot;chat_room_id&quot;</span>: <span class="hljs-string">&quot;xxx@chatroom&quot;</span>, <span class="hljs-comment">// &#x7FA4;ID</span>
    <span class="hljs-comment">/* &#x9000;&#x7FA4;&#x8005;&#x7684;&#x4FE1;&#x606F;&#x5217;&#x8868; */</span>
    <span class="hljs-string">&quot;member_list&quot;</span>:[
        {
            <span class="hljs-string">&quot;room_name&quot;</span>:<span class="hljs-string">&quot;&quot;</span>, <span class="hljs-comment">// &#x7FA4;&#x6635;&#x79F0;</span>
            <span class="hljs-string">&quot;wx_id&quot;</span>:<span class="hljs-string">&quot;wxid_xxx&quot;</span> <span class="hljs-comment">// &#x5FAE;&#x4FE1;ID</span>
        }
    ],
    <span class="hljs-string">&quot;msg&quot;</span>: <span class="hljs-string">&quot;&#x9000;&#x7FA4;&#x4E8B;&#x4EF6;&quot;</span>, <span class="hljs-comment">// &#x63D0;&#x793A;&#x5185;&#x5BB9;</span>
    <span class="hljs-string">&quot;self_wx_id&quot;</span>: <span class="hljs-string">&quot;wxid_xxxx&quot;</span>, <span class="hljs-comment">// &#x81EA;&#x5DF1;&#x7684;&#x5FAE;&#x4FE1;ID</span>
}
</code></pre>
<ul>
<li><h4 id="&#x804A;&#x5929;&#x64A4;&#x56DE;&#x6D88;&#x606F;&#x7684;&#x7C7B;&#x578B;&#x8BF4;&#x660E;&#x3010;msgtype&#x3011;&#xFF1A;">&#x804A;&#x5929;/&#x64A4;&#x56DE;&#x6D88;&#x606F;&#x7684;&#x7C7B;&#x578B;&#x8BF4;&#x660E;&#x3010;msg_type&#x3011;&#xFF1A;</h4>
</li>
</ul>
<table>
<thead>
<tr>
<th style="text-align:center">&#x6D88;&#x606F;&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">1</td>
<td style="text-align:center">&#x6587;&#x672C;&#x6D88;&#x606F;</td>
</tr>
<tr>
<td style="text-align:center">3</td>
<td style="text-align:center">&#x56FE;&#x7247;&#x6D88;&#x606F;</td>
</tr>
<tr>
<td style="text-align:center">34</td>
<td style="text-align:center">&#x8BED;&#x97F3;&#x6D88;&#x606F;</td>
</tr>
<tr>
<td style="text-align:center">37</td>
<td style="text-align:center">&#x597D;&#x53CB;&#x8BF7;&#x6C42;</td>
</tr>
<tr>
<td style="text-align:center">40</td>
<td style="text-align:center">&#x53EF;&#x80FD;&#x662F;&#x597D;&#x53CB;&#x6D88;&#x606F;</td>
</tr>
<tr>
<td style="text-align:center">42</td>
<td style="text-align:center">&#x4E2A;&#x4EBA;&#x540D;&#x7247;</td>
</tr>
<tr>
<td style="text-align:center">43</td>
<td style="text-align:center">&#x89C6;&#x9891;&#x6D88;&#x606F;</td>
</tr>
<tr>
<td style="text-align:center">47</td>
<td style="text-align:center">&#x81EA;&#x5B9A;&#x4E49;&#x8868;&#x60C5;&#x5305;</td>
</tr>
<tr>
<td style="text-align:center">48</td>
<td style="text-align:center">&#x4F4D;&#x7F6E;&#x6D88;&#x606F;</td>
</tr>
<tr>
<td style="text-align:center">49</td>
<td style="text-align:center">&#x5171;&#x4EAB;&#x5B9E;&#x65F6;&#x4F4D;&#x7F6E;&#x3001;&#x7B49;xml&#x6D88;&#x606F;</td>
</tr>
<tr>
<td style="text-align:center">50</td>
<td style="text-align:center">&#x672A;&#x77E5;&#x6D88;&#x606F;</td>
</tr>
<tr>
<td style="text-align:center">51</td>
<td style="text-align:center">&#x5FAE;&#x4FE1;&#x521D;&#x59CB;&#x5316;&#x6D88;&#x606F;</td>
</tr>
<tr>
<td style="text-align:center">52</td>
<td style="text-align:center">&#x672A;&#x77E5;&#x6D88;&#x606F;</td>
</tr>
<tr>
<td style="text-align:center">53</td>
<td style="text-align:center">&#x672A;&#x77E5;&#x6D88;&#x606F;</td>
</tr>
<tr>
<td style="text-align:center">62</td>
<td style="text-align:center">&#x5C0F;&#x89C6;&#x9891;&#x6D88;&#x606F;</td>
</tr>
<tr>
<td style="text-align:center">490</td>
<td style="text-align:center">&#x5FAE;&#x4FE1;&#x8F6C;&#x8D26;</td>
</tr>
<tr>
<td style="text-align:center">491</td>
<td style="text-align:center">&#x9080;&#x8BF7;&#x8FDB;&#x7FA4;</td>
</tr>
<tr>
<td style="text-align:center">492</td>
<td style="text-align:center">&#x5361;&#x7247;&#x94FE;&#x63A5;</td>
</tr>
<tr>
<td style="text-align:center">493</td>
<td style="text-align:center">&#x6587;&#x4EF6;</td>
</tr>
<tr>
<td style="text-align:center">494</td>
<td style="text-align:center">&#x5C0F;&#x7A0B;&#x5E8F;</td>
</tr>
<tr>
<td style="text-align:center">666</td>
<td style="text-align:center">&#x64A4;&#x56DE;&#x6D88;&#x606F;</td>
</tr>
<tr>
<td style="text-align:center">9999</td>
<td style="text-align:center">&#x672A;&#x77E5;&#x6D88;&#x606F;</td>
</tr>
<tr>
<td style="text-align:center">10002</td>
<td style="text-align:center">&#x63D0;&#x73B0;&#x6D88;&#x606F;</td>
</tr>
<tr>
<td style="text-align:center">10000</td>
<td style="text-align:center">&#x7CFB;&#x7EDF;&#x6D88;&#x606F;</td>
</tr>
</tbody>
</table>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="071-禁止微信自动更新.html" class="navigation navigation-prev " aria-label="Previous page: 11、禁止微信自动更新">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="../常见问题及解决方案.html" class="navigation navigation-next " aria-label="Next page: 常见问题及解决方案">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"接收消息","level":"1.16","depth":1,"next":{"title":"常见问题及解决方案","level":"1.17","depth":1,"path":"常见问题及解决方案.md","ref":"常见问题及解决方案.md","articles":[]},"previous":{"title":"11、禁止微信自动更新","level":"1.15.11","depth":2,"path":"教程/071-禁止微信自动更新.md","ref":"教程/071-禁止微信自动更新.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["expandable-chapters"],"pluginsConfig":{"expandable-chapters":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"教程/接收消息.md","mtime":"2024-04-30T03:10:39.891Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2024-09-09T23:20:51.168Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

